package cn.com.chengmandian.bike.service;

import cn.com.chengmandian.bike.model.EbPriceRule;
import cn.com.chengmandian.bike.model.vo.PriceRuleVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 计费规则表 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-12-10
 */
public interface IEbPriceRuleService extends IService<EbPriceRule> {

    PriceRuleVo getRule(Integer areaId);

    PriceRuleVo loadCache(Integer agentId, Integer areaId);

    PriceRuleVo getFromDb(Integer areaId);
}
